package com.dq.Service;

import com.dq.Pojo.Grade;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface GradeService {
    void add(Grade grade);

    void update(Grade grade);

    Grade findBystuid(Integer id);

    PageInfo<Grade> findAll(Integer pageNum, Integer pageSize,String stuid,Integer courseid,Integer classid);

    void delete(Integer id);

    List<Grade> findall();

    PageInfo<Grade> findstu(Integer pageNum, Integer pageSize, String stuid, String courseid);
}
